package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Integral;

public interface IIntegralService {

    void saveOrUpdate(Integral entity);

    /**
     * 根据用户id查积分
     * @param userId
     * @return
     */
    int getIntegralByUserId(Long userId);



}
